package ru.compft.web.beans;

import ru.compft.web.WebConst;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import java.io.Serializable;

/**
 * User: ASUS
 * Date: 01.06.12
 * Time: 0:42
 * Основной backend-бин страницы "Входа в систему"
 * Содержит все свойства страницы.
 */
@ManagedBean(name = WebConst.LOGIN_FORM_BEAN)
@ViewScoped
public class LoginFormBean implements Serializable {
    private static final long serialVersionUID = 5501515865130745087L;

    private String userName;
    private String password;
    private String redirectUrl;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }
}
